package cn.hengzhu.main_manager.repository.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class TreeOneVO implements Serializable {

	/**
	 * @author 刘成
	 * @since 2018年9月28日
	 */
	private static final long serialVersionUID = 1L;
	@ApiModelProperty("名称")
	private String name = "所有权限";
	@ApiModelProperty("是否展开")
	private boolean open = true;
	@ApiModelProperty("是否隐藏")
	private boolean nocheck = true;
	@ApiModelProperty("是否选中")
	private boolean checked = false;
	@ApiModelProperty("子权限的集合")
	private List<TreeTwoVO> children = new ArrayList<>();

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public boolean isNocheck() {
		return nocheck;
	}

	public void setNocheck(boolean nocheck) {
		this.nocheck = nocheck;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public List<TreeTwoVO> getChildren() {
		return children;
	}

	public void setChildren(List<TreeTwoVO> children) {
		this.children = children;
	}

}
